FROM openjdk:8-jdk-alpine
MAINTAINER "Haijun Liu"<isaiah@sohu.com>
ARG JAR_FILE
ADD target/${JAR_FILE} /opt/app.jar
ENV JAVA_OPTS=""
ENTRYPOINT exec java $JAVA_OPTS -jar /opt/app.jar
